#ifndef PLACEPIECE_H
#define PLACEPIECE_H

#include "IMove.h"
#include "Typesfwd.h"
#include "model/Location.h"

class PlacePiece : public IMove
{
public:
    PlacePiece(const globals::cPiece&, const model::Location&);

    void execute(model::ChessBoard&);

    void undo(model::ChessBoard &);
private:
    const model::Location loc;
    const globals::cPiece piece;
};

#endif // PLACEPIECE_H
